home *** CD-ROM | disk | FTP | other *** search
- // Borland C++ Builder
- // Copyright (c) 1995, 1998 by Borland International
- // All rights reserved
-
- // (DO NOT EDIT: machine generated header) 'DsgnIntf.pas' rev: 3.00
-
- #ifndef DsgnIntfHPP
- #define DsgnIntfHPP
- #include <TypInfo.hpp>
- #include <Forms.hpp>
- #include <Controls.hpp>
- #include <Graphics.hpp>
- #include <Classes.hpp>
- #include <SysUtils.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
-
- namespace Dsgnintf
- {
- //-- type declarations -------------------------------------------------------
- class DELPHICLASS TComponentList;
- class PASCALIMPLEMENTATION TComponentList : public System::TObject
- {
- typedef System::TObject inherited;
-
- private:
- Classes::TList* FList;
- Classes::TPersistent* __fastcall Get(int Index);
- int __fastcall GetCount(void);
-
- public:
- __fastcall TComponentList(void);
- __fastcall virtual ~TComponentList(void);
- int __fastcall Add(Classes::TPersistent* Item);
- bool __fastcall Equals(TComponentList* List);
- __property int Count = {read=GetCount, nodefault};
- __property Classes::TPersistent* Items[int Index] = {read=Get/*, default*/};
- };
-
- class DELPHICLASS TFormDesigner;
- class PASCALIMPLEMENTATION TFormDesigner : public Forms::TDesigner
- {
- typedef Forms::TDesigner inherited;
-
- public:
- virtual Sysutils::TMethod __fastcall CreateMethod(const System::AnsiString Name, Typinfo::PTypeData
- TypeData) = 0;
- virtual System::AnsiString __fastcall GetMethodName(const Sysutils::TMethod &Method) = 0;
- virtual void __fastcall GetMethods(Typinfo::PTypeData TypeData, Classes::TGetStrProc Proc) = 0;
- virtual System::AnsiString __fastcall GetPrivateDirectory(void) = 0;
- virtual void __fastcall GetSelections(TComponentList* List) = 0;
- virtual bool __fastcall MethodExists(const System::AnsiString Name) = 0;
- virtual void __fastcall RenameMethod(const System::AnsiString CurName, const System::AnsiString NewName
- ) = 0;
- virtual void __fastcall SelectComponent(Classes::TPersistent* Instance) = 0;
- virtual void __fastcall SetSelections(TComponentList* List) = 0;
- virtual void __fastcall ShowMethod(const System::AnsiString Name) = 0;
- virtual System::AnsiString __fastcall UniqueName(const System::AnsiString BaseName) = 0;
- virtual void __fastcall GetComponentNames(Typinfo::PTypeData TypeData, Classes::TGetStrProc Proc) = 0
- ;
- virtual Classes::TComponent* __fastcall GetComponent(const System::AnsiString Name) = 0;
- virtual System::AnsiString __fastcall GetComponentName(Classes::TComponent* Component) = 0;
- virtual Classes::TPersistent* __fastcall GetObject(const System::AnsiString Name) = 0;
- virtual System::AnsiString __fastcall GetObjectName(Classes::TPersistent* Instance) = 0;
- virtual void __fastcall GetObjectNames(Typinfo::PTypeData TypeData, Classes::TGetStrProc Proc) = 0;
-
- virtual bool __fastcall MethodFromAncestor(const Sysutils::TMethod &Method) = 0;
- virtual Classes::TComponent* __fastcall CreateComponent(System::TMetaClass* ComponentClass, Classes::TComponent*
- Parent, int Left, int Top, int Width, int Height) = 0;
- virtual bool __fastcall IsComponentLinkable(Classes::TComponent* Component) = 0;
- virtual void __fastcall MakeComponentLinkable(Classes::TComponent* Component) = 0;
- virtual Classes::TComponent* __fastcall GetRoot(void) = 0;
- virtual void __fastcall Revert(Classes::TPersistent* Instance, Typinfo::PPropInfo PropInfo) = 0;
- virtual bool __fastcall GetIsDormant(void) = 0;
- virtual bool __fastcall HasInterface(void) = 0;
- virtual bool __fastcall HasInterfaceMember(const System::AnsiString Name) = 0;
- virtual void __fastcall AddToInterface(int InvKind, const System::AnsiString Name, Word VT, const System::AnsiString
- TypeInfo) = 0;
- virtual void __fastcall GetProjectModules(Classes::TGetModuleProc Proc) = 0;
- __property bool IsDormant = {read=GetIsDormant, nodefault};
- public:
- /* TObject.Create */ __fastcall TFormDesigner(void) : Forms::TDesigner() { }
- /* TObject.Destroy */ __fastcall virtual ~TFormDesigner(void) { }
-
- };
-
- enum TPropertyAttribute { paValueList, paSubProperties, paDialog, paMultiSelect, paAutoUpdate, paSortList,
- paReadOnly, paRevertable };
-
- typedef Set<TPropertyAttribute, paValueList, paRevertable> TPropertyAttributes;
-
- struct TInstProp
- {
- Classes::TPersistent* Instance;
- Typinfo::TPropInfo *PropInfo;
- } ;
-
- typedef TInstProp TInstPropList[1024];
-
- typedef TInstPropList *PInstPropList;
-
- class DELPHICLASS TPropertyEditor;
- typedef void __fastcall (__closure *TGetPropEditProc)(TPropertyEditor* Prop);
-
- class PASCALIMPLEMENTATION TPropertyEditor : public System::TObject
- {
- typedef System::TObject inherited;
-
- private:
- TFormDesigner* FDesigner;
- TInstPropList *FPropList;
- int FPropCount;
- __fastcall TPropertyEditor(TFormDesigner* ADesigner, int APropCount);
- System::AnsiString __fastcall GetPrivateDirectory(void);
- void __fastcall SetPropEntry(int Index, Classes::TPersistent* AInstance, Typinfo::PPropInfo APropInfo
- );
-
- protected:
- Typinfo::PPropInfo __fastcall GetPropInfo(void);
- Extended __fastcall GetFloatValue(void);
- Extended __fastcall GetFloatValueAt(int Index);
- Sysutils::TMethod __fastcall GetMethodValue(void);
- Sysutils::TMethod __fastcall GetMethodValueAt(int Index);
- int __fastcall GetOrdValue(void);
- int __fastcall GetOrdValueAt(int Index);
- System::AnsiString __fastcall GetStrValue(void);
- System::AnsiString __fastcall GetStrValueAt(int Index);
- System::Variant __fastcall GetVarValue(void);
- System::Variant __fastcall GetVarValueAt(int Index);
- void __fastcall Modified(void);
- void __fastcall SetFloatValue(Extended Value);
- void __fastcall SetMethodValue(const Sysutils::TMethod &Value);
- void __fastcall SetOrdValue(int Value);
- void __fastcall SetStrValue(const System::AnsiString Value);
- void __fastcall SetVarValue(const System::Variant &Value);
-
- public:
- __fastcall virtual ~TPropertyEditor(void);
- virtual void __fastcall Activate(void);
- virtual bool __fastcall AllEqual(void);
- virtual void __fastcall Edit(void);
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- Classes::TPersistent* __fastcall GetComponent(int Index);
- virtual int __fastcall GetEditLimit(void);
- virtual System::AnsiString __fastcall GetName(void);
- virtual void __fastcall GetProperties(TGetPropEditProc Proc);
- Typinfo::PTypeInfo __fastcall GetPropType(void);
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall GetValues(Classes::TGetStrProc Proc);
- virtual void __fastcall Initialize(void);
- void __fastcall Revert(void);
- virtual void __fastcall SetValue(const System::AnsiString Value);
- bool __fastcall ValueAvailable(void);
- __property TFormDesigner* Designer = {read=FDesigner};
- __property System::AnsiString PrivateDirectory = {read=GetPrivateDirectory};
- __property int PropCount = {read=FPropCount, nodefault};
- __property System::AnsiString Value = {read=GetValue, write=SetValue};
- public:
- /* TObject.Create */ __fastcall TPropertyEditor(void) : System::TObject() { }
-
- };
-
- typedef System::TMetaClass*TPropertyEditorClass;
-
- class DELPHICLASS TOrdinalProperty;
- class PASCALIMPLEMENTATION TOrdinalProperty : public Dsgnintf::TPropertyEditor
- {
- typedef Dsgnintf::TPropertyEditor inherited;
-
- public:
- virtual bool __fastcall AllEqual(void);
- virtual int __fastcall GetEditLimit(void);
- public:
- /* TPropertyEditor.Destroy */ __fastcall virtual ~TOrdinalProperty(void) { }
-
- public:
- /* TObject.Create */ __fastcall TOrdinalProperty(void) : Dsgnintf::TPropertyEditor() { }
-
- };
-
- class DELPHICLASS TIntegerProperty;
- class PASCALIMPLEMENTATION TIntegerProperty : public Dsgnintf::TOrdinalProperty
- {
- typedef Dsgnintf::TOrdinalProperty inherited;
-
- public:
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall SetValue(const System::AnsiString Value);
- public:
- /* TPropertyEditor.Destroy */ __fastcall virtual ~TIntegerProperty(void) { }
-
- public:
- /* TObject.Create */ __fastcall TIntegerProperty(void) : Dsgnintf::TOrdinalProperty() { }
-
- };
-
- class DELPHICLASS TCharProperty;
- class PASCALIMPLEMENTATION TCharProperty : public Dsgnintf::TOrdinalProperty
- {
- typedef Dsgnintf::TOrdinalProperty inherited;
-
- public:
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall SetValue(const System::AnsiString Value);
- public:
- /* TPropertyEditor.Destroy */ __fastcall virtual ~TCharProperty(void) { }
-
- public:
- /* TObject.Create */ __fastcall TCharProperty(void) : Dsgnintf::TOrdinalProperty() { }
-
- };
-
- class DELPHICLASS TEnumProperty;
- class PASCALIMPLEMENTATION TEnumProperty : public Dsgnintf::TOrdinalProperty
- {
- typedef Dsgnintf::TOrdinalProperty inherited;
-
- public:
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall GetValues(Classes::TGetStrProc Proc);
- virtual void __fastcall SetValue(const System::AnsiString Value);
- public:
- /* TPropertyEditor.Destroy */ __fastcall virtual ~TEnumProperty(void) { }
-
- public:
- /* TObject.Create */ __fastcall TEnumProperty(void) : Dsgnintf::TOrdinalProperty() { }
-
- };
-
- class DELPHICLASS TBoolProperty;
- class PASCALIMPLEMENTATION TBoolProperty : public Dsgnintf::TEnumProperty
- {
- typedef Dsgnintf::TEnumProperty inherited;
-
- public:
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall GetValues(Classes::TGetStrProc Proc);
- virtual void __fastcall SetValue(const System::AnsiString Value);
- public:
- /* TPropertyEditor.Destroy */ __fastcall virtual ~TBoolProperty(void) { }
-
- public:
- /* TObject.Create */ __fastcall TBoolProperty(void) : Dsgnintf::TEnumProperty() { }
-
- };
-
- class DELPHICLASS TFloatProperty;
- class PASCALIMPLEMENTATION TFloatProperty : public Dsgnintf::TPropertyEditor
- {
- typedef Dsgnintf::TPropertyEditor inherited;
-
- public:
- virtual bool __fastcall AllEqual(void);
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall SetValue(const System::AnsiString Value);
- public:
- /* TPropertyEditor.Destroy */ __fastcall virtual ~TFloatProperty(void) { }
-
- public:
- /* TObject.Create */ __fastcall TFloatProperty(void) : Dsgnintf::TPropertyEditor() { }
-
- };
-
- class DELPHICLASS TStringProperty;
- class PASCALIMPLEMENTATION TStringProperty : public Dsgnintf::TPropertyEditor
- {
- typedef Dsgnintf::TPropertyEditor inherited;
-
- public:
- virtual bool __fastcall AllEqual(void);
- virtual int __fastcall GetEditLimit(void);
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall SetValue(const System::AnsiString Value);
- public:
- /* TPropertyEditor.Destroy */ __fastcall virtual ~TStringProperty(void) { }
-
- public:
- /* TObject.Create */ __fastcall TStringProperty(void) : Dsgnintf::TPropertyEditor() { }
-
- };
-
- class DELPHICLASS TSetElementProperty;
- class PASCALIMPLEMENTATION TSetElementProperty : public Dsgnintf::TPropertyEditor
- {
- typedef Dsgnintf::TPropertyEditor inherited;
-
- private:
- int FElement;
- __fastcall TSetElementProperty(TFormDesigner* ADesigner, PInstPropList APropList, int APropCount, int
- AElement);
-
- public:
- __fastcall virtual ~TSetElementProperty(void);
- virtual bool __fastcall AllEqual(void);
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual System::AnsiString __fastcall GetName(void);
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall GetValues(Classes::TGetStrProc Proc);
- virtual void __fastcall SetValue(const System::AnsiString Value);
- public:
- /* TObject.Create */ __fastcall TSetElementProperty(void) : Dsgnintf::TPropertyEditor() { }
-
- };
-
- class DELPHICLASS TSetProperty;
- class PASCALIMPLEMENTATION TSetProperty : public Dsgnintf::TOrdinalProperty
- {
- typedef Dsgnintf::TOrdinalProperty inherited;
-
- public:
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual void __fastcall GetProperties(TGetPropEditProc Proc);
- virtual System::AnsiString __fastcall GetValue(void);
- public:
- /* TPropertyEditor.Destroy */ __fastcall virtual ~TSetProperty(void) { }
-
- public:
- /* TObject.Create */ __fastcall TSetProperty(void) : Dsgnintf::TOrdinalProperty() { }
-
- };
-
- class DELPHICLASS TClassProperty;
- class PASCALIMPLEMENTATION TClassProperty : public Dsgnintf::TPropertyEditor
- {
- typedef Dsgnintf::TPropertyEditor inherited;
-
- public:
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual void __fastcall GetProperties(TGetPropEditProc Proc);
- virtual System::AnsiString __fastcall GetValue(void);
- public:
- /* TPropertyEditor.Destroy */ __fastcall virtual ~TClassProperty(void) { }
-
- public:
- /* TObject.Create */ __fastcall TClassProperty(void) : Dsgnintf::TPropertyEditor() { }
-
- };
-
- class DELPHICLASS TMethodProperty;
- class PASCALIMPLEMENTATION TMethodProperty : public Dsgnintf::TPropertyEditor
- {
- typedef Dsgnintf::TPropertyEditor inherited;
-
- public:
- virtual bool __fastcall AllEqual(void);
- virtual void __fastcall Edit(void);
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual int __fastcall GetEditLimit(void);
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall GetValues(Classes::TGetStrProc Proc);
- virtual void __fastcall SetValue(const System::AnsiString AValue);
- virtual System::AnsiString __fastcall GetFormMethodName(void);
- System::AnsiString __fastcall GetTrimmedEventName(void);
- public:
- /* TPropertyEditor.Destroy */ __fastcall virtual ~TMethodProperty(void) { }
-
- public:
- /* TObject.Create */ __fastcall TMethodProperty(void) : Dsgnintf::TPropertyEditor() { }
-
- };
-
- class DELPHICLASS TComponentProperty;
- class PASCALIMPLEMENTATION TComponentProperty : public Dsgnintf::TPropertyEditor
- {
- typedef Dsgnintf::TPropertyEditor inherited;
-
- public:
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual int __fastcall GetEditLimit(void);
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall GetValues(Classes::TGetStrProc Proc);
- virtual void __fastcall SetValue(const System::AnsiString Value);
- public:
- /* TPropertyEditor.Destroy */ __fastcall virtual ~TComponentProperty(void) { }
-
- public:
- /* TObject.Create */ __fastcall TComponentProperty(void) : Dsgnintf::TPropertyEditor() { }
-
- };
-
- class DELPHICLASS TComponentNameProperty;
- class PASCALIMPLEMENTATION TComponentNameProperty : public Dsgnintf::TStringProperty
- {
- typedef Dsgnintf::TStringProperty inherited;
-
- public:
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual int __fastcall GetEditLimit(void);
- public:
- /* TPropertyEditor.Destroy */ __fastcall virtual ~TComponentNameProperty(void) { }
-
- public:
- /* TObject.Create */ __fastcall TComponentNameProperty(void) : Dsgnintf::TStringProperty() { }
-
- };
-
- class DELPHICLASS TFontNameProperty;
- class PASCALIMPLEMENTATION TFontNameProperty : public Dsgnintf::TStringProperty
- {
- typedef Dsgnintf::TStringProperty inherited;
-
- public:
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual void __fastcall GetValues(Classes::TGetStrProc Proc);
- public:
- /* TPropertyEditor.Destroy */ __fastcall virtual ~TFontNameProperty(void) { }
-
- public:
- /* TObject.Create */ __fastcall TFontNameProperty(void) : Dsgnintf::TStringProperty() { }
-
- };
-
- class DELPHICLASS TFontCharsetProperty;
- class PASCALIMPLEMENTATION TFontCharsetProperty : public Dsgnintf::TIntegerProperty
- {
- typedef Dsgnintf::TIntegerProperty inherited;
-
- public:
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall GetValues(Classes::TGetStrProc Proc);
- virtual void __fastcall SetValue(const System::AnsiString Value);
- public:
- /* TPropertyEditor.Destroy */ __fastcall virtual ~TFontCharsetProperty(void) { }
-
- public:
- /* TObject.Create */ __fastcall TFontCharsetProperty(void) : Dsgnintf::TIntegerProperty() { }
-
- };
-
- class DELPHICLASS TImeNameProperty;
- class PASCALIMPLEMENTATION TImeNameProperty : public Dsgnintf::TStringProperty
- {
- typedef Dsgnintf::TStringProperty inherited;
-
- public:
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual void __fastcall GetValues(Classes::TGetStrProc Proc);
- public:
- /* TPropertyEditor.Destroy */ __fastcall virtual ~TImeNameProperty(void) { }
-
- public:
- /* TObject.Create */ __fastcall TImeNameProperty(void) : Dsgnintf::TStringProperty() { }
-
- };
-
- class DELPHICLASS TColorProperty;
- class PASCALIMPLEMENTATION TColorProperty : public Dsgnintf::TIntegerProperty
- {
- typedef Dsgnintf::TIntegerProperty inherited;
-
- public:
- virtual void __fastcall Edit(void);
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall GetValues(Classes::TGetStrProc Proc);
- virtual void __fastcall SetValue(const System::AnsiString Value);
- public:
- /* TPropertyEditor.Destroy */ __fastcall virtual ~TColorProperty(void) { }
-
- public:
- /* TObject.Create */ __fastcall TColorProperty(void) : Dsgnintf::TIntegerProperty() { }
-
- };
-
- class DELPHICLASS TCursorProperty;
- class PASCALIMPLEMENTATION TCursorProperty : public Dsgnintf::TIntegerProperty
- {
- typedef Dsgnintf::TIntegerProperty inherited;
-
- public:
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall GetValues(Classes::TGetStrProc Proc);
- virtual void __fastcall SetValue(const System::AnsiString Value);
- public:
- /* TPropertyEditor.Destroy */ __fastcall virtual ~TCursorProperty(void) { }
-
- public:
- /* TObject.Create */ __fastcall TCursorProperty(void) : Dsgnintf::TIntegerProperty() { }
-
- };
-
- class DELPHICLASS TFontProperty;
- class PASCALIMPLEMENTATION TFontProperty : public Dsgnintf::TClassProperty
- {
- typedef Dsgnintf::TClassProperty inherited;
-
- public:
- virtual void __fastcall Edit(void);
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- public:
- /* TPropertyEditor.Destroy */ __fastcall virtual ~TFontProperty(void) { }
-
- public:
- /* TObject.Create */ __fastcall TFontProperty(void) : Dsgnintf::TClassProperty() { }
-
- };
-
- class DELPHICLASS TModalResultProperty;
- class PASCALIMPLEMENTATION TModalResultProperty : public Dsgnintf::TIntegerProperty
- {
- typedef Dsgnintf::TIntegerProperty inherited;
-
- public:
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall GetValues(Classes::TGetStrProc Proc);
- virtual void __fastcall SetValue(const System::AnsiString Value);
- public:
- /* TPropertyEditor.Destroy */ __fastcall virtual ~TModalResultProperty(void) { }
-
- public:
- /* TObject.Create */ __fastcall TModalResultProperty(void) : Dsgnintf::TIntegerProperty() { }
-
- };
-
- class DELPHICLASS TShortCutProperty;
- class PASCALIMPLEMENTATION TShortCutProperty : public Dsgnintf::TOrdinalProperty
- {
- typedef Dsgnintf::TOrdinalProperty inherited;
-
- public:
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall GetValues(Classes::TGetStrProc Proc);
- virtual void __fastcall SetValue(const System::AnsiString Value);
- public:
- /* TPropertyEditor.Destroy */ __fastcall virtual ~TShortCutProperty(void) { }
-
- public:
- /* TObject.Create */ __fastcall TShortCutProperty(void) : Dsgnintf::TOrdinalProperty() { }
-
- };
-
- class DELPHICLASS TMPFilenameProperty;
- class PASCALIMPLEMENTATION TMPFilenameProperty : public Dsgnintf::TStringProperty
- {
- typedef Dsgnintf::TStringProperty inherited;
-
- public:
- virtual void __fastcall Edit(void);
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- public:
- /* TPropertyEditor.Destroy */ __fastcall virtual ~TMPFilenameProperty(void) { }
-
- public:
- /* TObject.Create */ __fastcall TMPFilenameProperty(void) : Dsgnintf::TStringProperty() { }
-
- };
-
- class DELPHICLASS TTabOrderProperty;
- class PASCALIMPLEMENTATION TTabOrderProperty : public Dsgnintf::TIntegerProperty
- {
- typedef Dsgnintf::TIntegerProperty inherited;
-
- public:
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- public:
- /* TPropertyEditor.Destroy */ __fastcall virtual ~TTabOrderProperty(void) { }
-
- public:
- /* TObject.Create */ __fastcall TTabOrderProperty(void) : Dsgnintf::TIntegerProperty() { }
-
- };
-
- class DELPHICLASS TCaptionProperty;
- class PASCALIMPLEMENTATION TCaptionProperty : public Dsgnintf::TStringProperty
- {
- typedef Dsgnintf::TStringProperty inherited;
-
- public:
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- public:
- /* TPropertyEditor.Destroy */ __fastcall virtual ~TCaptionProperty(void) { }
-
- public:
- /* TObject.Create */ __fastcall TCaptionProperty(void) : Dsgnintf::TStringProperty() { }
-
- };
-
- class DELPHICLASS TDateProperty;
- class PASCALIMPLEMENTATION TDateProperty : public Dsgnintf::TPropertyEditor
- {
- typedef Dsgnintf::TPropertyEditor inherited;
-
- public:
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall SetValue(const System::AnsiString Value);
- public:
- /* TPropertyEditor.Destroy */ __fastcall virtual ~TDateProperty(void) { }
-
- public:
- /* TObject.Create */ __fastcall TDateProperty(void) : Dsgnintf::TPropertyEditor() { }
-
- };
-
- class DELPHICLASS TTimeProperty;
- class PASCALIMPLEMENTATION TTimeProperty : public Dsgnintf::TPropertyEditor
- {
- typedef Dsgnintf::TPropertyEditor inherited;
-
- public:
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall SetValue(const System::AnsiString Value);
- public:
- /* TPropertyEditor.Destroy */ __fastcall virtual ~TTimeProperty(void) { }
-
- public:
- /* TObject.Create */ __fastcall TTimeProperty(void) : Dsgnintf::TPropertyEditor() { }
-
- };
-
- class DELPHICLASS TDateTimeProperty;
- class PASCALIMPLEMENTATION TDateTimeProperty : public Dsgnintf::TPropertyEditor
- {
- typedef Dsgnintf::TPropertyEditor inherited;
-
- public:
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall SetValue(const System::AnsiString Value);
- public:
- /* TPropertyEditor.Destroy */ __fastcall virtual ~TDateTimeProperty(void) { }
-
- public:
- /* TObject.Create */ __fastcall TDateTimeProperty(void) : Dsgnintf::TPropertyEditor() { }
-
- };
-
- class DELPHICLASS EPropertyError;
- class PASCALIMPLEMENTATION EPropertyError : public Sysutils::Exception
- {
- typedef Sysutils::Exception inherited;
-
- public:
- /* Exception.Create */ __fastcall EPropertyError(const System::AnsiString Msg) : Sysutils::Exception(
- Msg) { }
- /* Exception.CreateFmt */ __fastcall EPropertyError(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size) : Sysutils::Exception(Msg, Args, Args_Size) { }
- /* Exception.CreateRes */ __fastcall EPropertyError(int Ident, Extended Dummy) : Sysutils::Exception(
- Ident, Dummy) { }
- /* Exception.CreateResFmt */ __fastcall EPropertyError(int Ident, const System::TVarRec * Args, const
- int Args_Size) : Sysutils::Exception(Ident, Args, Args_Size) { }
- /* Exception.CreateHelp */ __fastcall EPropertyError(const System::AnsiString Msg, int AHelpContext
- ) : Sysutils::Exception(Msg, AHelpContext) { }
- /* Exception.CreateFmtHelp */ __fastcall EPropertyError(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size, int AHelpContext) : Sysutils::Exception(Msg, Args, Args_Size, AHelpContext
- ) { }
- /* Exception.CreateResHelp */ __fastcall EPropertyError(int Ident, int AHelpContext) : Sysutils::Exception(
- Ident, AHelpContext) { }
- /* Exception.CreateResFmtHelp */ __fastcall EPropertyError(int Ident, const System::TVarRec * Args,
- const int Args_Size, int AHelpContext) : Sysutils::Exception(Ident, Args, Args_Size, AHelpContext)
- { }
-
- public:
- /* TObject.Destroy */ __fastcall virtual ~EPropertyError(void) { }
-
- };
-
- class DELPHICLASS TComponentEditor;
- class PASCALIMPLEMENTATION TComponentEditor : public System::TObject
- {
- typedef System::TObject inherited;
-
- private:
- Classes::TComponent* FComponent;
- TFormDesigner* FDesigner;
-
- public:
- __fastcall virtual TComponentEditor(Classes::TComponent* AComponent, TFormDesigner* ADesigner);
- virtual void __fastcall Edit(void);
- virtual void __fastcall ExecuteVerb(int Index);
- virtual System::AnsiString __fastcall GetVerb(int Index);
- virtual int __fastcall GetVerbCount(void);
- virtual void __fastcall Copy(void);
- __property Classes::TComponent* Component = {read=FComponent};
- __property TFormDesigner* Designer = {read=FDesigner};
- public:
- /* TObject.Destroy */ __fastcall virtual ~TComponentEditor(void) { }
-
- };
-
- typedef System::TMetaClass*TComponentEditorClass;
-
- class DELPHICLASS TDefaultEditor;
- class PASCALIMPLEMENTATION TDefaultEditor : public Dsgnintf::TComponentEditor
- {
- typedef Dsgnintf::TComponentEditor inherited;
-
- private:
- TPropertyEditor* FFirst;
- TPropertyEditor* FBest;
- bool FContinue;
- void __fastcall CheckEdit(TPropertyEditor* PropertyEditor);
-
- protected:
- virtual void __fastcall EditProperty(TPropertyEditor* PropertyEditor, bool &Continue, bool &FreeEditor
- );
-
- public:
- virtual void __fastcall Edit(void);
- public:
- /* TComponentEditor.Create */ __fastcall virtual TDefaultEditor(Classes::TComponent* AComponent, TFormDesigner*
- ADesigner) : Dsgnintf::TComponentEditor(AComponent, ADesigner) { }
-
- public:
- /* TObject.Destroy */ __fastcall virtual ~TDefaultEditor(void) { }
-
- };
-
- typedef void __fastcall (*TFreeCustomModulesProc)(int Group);
-
- typedef System::TMetaClass* __fastcall (*TPropertyMapperFunc)(Classes::TPersistent* Obj, Typinfo::PPropInfo
- PropInfo);
-
- enum TCustomModuleAttribute { cmaVirtualSize };
-
- typedef Set<TCustomModuleAttribute, cmaVirtualSize, cmaVirtualSize> TCustomModuleAttributes;
-
- class DELPHICLASS TCustomModule;
- class PASCALIMPLEMENTATION TCustomModule : public System::TObject
- {
- typedef System::TObject inherited;
-
- private:
- Classes::TComponent* FRoot;
-
- public:
- __fastcall virtual TCustomModule(Classes::TComponent* ARoot);
- virtual void __fastcall ExecuteVerb(int Index);
- virtual TCustomModuleAttributes __fastcall GetAttributes(void);
- virtual System::AnsiString __fastcall GetVerb(int Index);
- virtual int __fastcall GetVerbCount(void);
- virtual void __fastcall Saving(void);
- virtual void __fastcall ValidateComponent(Classes::TComponent* Component);
- __property Classes::TComponent* Root = {read=FRoot};
- public:
- /* TObject.Destroy */ __fastcall virtual ~TCustomModule(void) { }
-
- };
-
- typedef System::TMetaClass*TCustomModuleClass;
-
- typedef void __fastcall (*TRegisterCustomModuleProc)(int Group, System::TMetaClass* ComponentBaseClass
- , System::TMetaClass* CustomModuleClass);
-
- //-- var, const, procedure ---------------------------------------------------
- extern PACKAGE TFreeCustomModulesProc FreeCustomModulesProc;
- extern PACKAGE TRegisterCustomModuleProc RegisterCustomModuleProc;
- extern PACKAGE Byte MaxIdentLength;
- extern PACKAGE void __fastcall RegisterPropertyEditor(Typinfo::PTypeInfo PropertyType, System::TMetaClass*
- ComponentClass, const System::AnsiString PropertyName, System::TMetaClass* EditorClass);
- extern PACKAGE void __fastcall RegisterPropertyMapper(TPropertyMapperFunc Mapper);
- extern PACKAGE void __fastcall GetComponentProperties(TComponentList* Components, Typinfo::TTypeKinds
- Filter, TFormDesigner* Designer, TGetPropEditProc Proc);
- extern PACKAGE void __fastcall RegisterComponentEditor(System::TMetaClass* ComponentClass, System::TMetaClass*
- ComponentEditor);
- extern PACKAGE TComponentEditor* __fastcall GetComponentEditor(Classes::TComponent* Component, TFormDesigner*
- Designer);
- extern PACKAGE int __fastcall NewEditorGroup(void);
- extern PACKAGE void __fastcall FreeEditorGroup(int Group);
- extern PACKAGE void __fastcall RegisterCustomModule(System::TMetaClass* ComponentBaseClass, System::TMetaClass*
- CustomModuleClass);
-
- } /* namespace Dsgnintf */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Dsgnintf;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // DsgnIntf
-